Repository navigation
fix(tests): drop the duplicate listeners the events merge kept (V388 amendment) - #381
Merged
Merged
Conversation
…amendment) a3cf040 ("Merge main into goip/parity-events and resolve monitor conflicts") resolved this hunk by keeping both sides: the events branch's V388 fix (f9c1c08, name=prometheus) and main's independent two-days-later fix of the same miss (1b0bbd2, name=health). Two `listeners` keys in one attrset are a hard evaluation error, so packages.x86_64-linux.test-tcp-controller-vm failed to evaluate from the arc's merge (2818adb) through 7ce0f40. Nothing caught it because the gate battery and CI both run the individual checks, never a whole-flake evaluation. Keep V388's name=prometheus value - the one the recorded vm-all run proved (the harness probes by address, so only the duplicate mattered) - and record the repair in V388's ledger row. Verification: nix build .#test-tcp-controller-vm, the flake's packages walk (79 derivations, --no-build; the remaining proto-audit failure there is a GC'd fetch-cargo-vendor .drv in this store, not tree damage - the package builds), and the check battery: lint-baseline, gofmt, nix-fmt, go-vet, test-goip-docs, test-goip-monitorfile, netlink-audit, vm-lib-exp, cli-help-smoke-goip-parity, test-focused-goip, all green. 🤖 Generated with [pi](https://github.com/badlogic/pi-mono)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
nix/tests/tcp-controller/default.nixcarried twolistenersdefinitions in one attrset — a hard evaluation error.nix flake checkandnix build .#test-tcp-controller-vmhave been failing on main since2818adb76(the events arc's merge).Root cause
Two independent fixes for the same miss (the listener model
a739d59ccmoved the unspecified module default to a unix socket and the tcp-controller fixture was the one not updated):f9c1c0853, 2026-11-24, events branch): thename=prometheus,serves=healthlistener — the value the arc's recordedvm-allrun proved (8 sentinels).1b0bbd2ce(2026-11-26, main): aname=health,serves=healthlistener — same address, same fix, landed unseen two days later.a3cf04042("Merge main into goip/parity-events and resolve monitor conflicts") resolved the hunk by keeping both sides — textually clean, semantically a duplicate key. Nothing caught it: the gate battery and CI both run the individual checks; nothing evaluates the whole flake.The fix
Delete the
1b0bbd2cehunk (its 3-line comment + listener), keeping V388'sname=prometheusvalue — the one the recordedvm-allrun proved. The harness probes by address (127.0.0.1:9088/readyz,tools/tcp-controller-integration/main.go:122), so only the duplicate mattered. Recorded in V388's ledger row as an amendment (the2818adb76→7ce0f408a8damage window, and why it went unseen).Runtime is not re-run: the kept value is byte-identical to the state V388's recorded
vm-tcp-controller/vm-allrun proved, and no change in the window touches the fixture or the daemon.Verification
nix build .#test-tcp-controller-vm— green (previously the eval error)--no-build— 79 derivations evaluate; the remainingproto-auditfailure there is a GC'dfetch-cargo-vendor-ua-fix.drvin this local store, not tree damage (nix build .#proto-auditis green)lint-baseline,gofmt,nix-fmt,go-vet,test-goip-docs,test-goip-monitorfile,netlink-audit,vm-lib-exp,cli-help-smoke-goip-parity,test-focused-goip— all greengo test -count=1 ./...and-tags goip_write ./...(114 ok each),go vetboth modes, gofmt — all green🤖 Generated with pi